<%- include header %>
<br/><br/><br/>
<div class="container">
    <div id="read-only" class="markdown-preview">
        <h1 >
            <%=post.title%>
            <small>
                <% if (user && (user.name == post.name)) { %>
                <span><a class="edit" href="/edit/<%= post.name %>/<%= post.time.day %>/<%= post.title %>">编辑</a></span>
                <span><a class="edit" href="/remove/<%= post.name %>/<%= post.time.day %>/<%= post.title %>">删除</a></span>
                <% } %>
            </small>
        </h1>
        <p class="info alive-loading">
            作者：<a href="/u/<%= post.name %>"><%= post.name %></a> |
            日期：<%= post.time.minute %>
        </p>

        <hr/>
        <p  class="alive-loading"><%- post.post %></p>
    </div>
</div>
<%- include footer %>